﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using EntityFrameworks.Entity.Core.CommonEnums;


namespace Common.Background
{
    public class MenuTree : DataTree<WebManageMenus>
    {
        public MenuTree()
            : base(new BackgroundBase<WebManageMenus>().GetModel()
                                                       .Where(i => i.Status != (int)Status.Deleted)
                                                       .OrderBy(i => i.SortNumber)
                                                       .ToList())
        {

        }
    }
}